package com.lck.blogmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lck.blogmanager.entity.AuditEntity;
import com.lck.blogmanager.req.AuditPageReq;
import com.lck.blogmanager.res.AuditPageRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface AuditMapper extends BaseMapper<AuditEntity> {
    Page<AuditPageRes> pageAudit(@Param("req") AuditPageReq req,
                                 Page page);
}
